package shiqi;

/**
 * Created by mc on 2016/8/6.
 */
import static java.lang.System.out;
public class forname {
    public static void main(String[] arges ) throws ClassNotFoundException {
        Class clz = Class.forName("cc.openhome.Some2",false,SomeDemo2.class.getClassLoader());
        out.println("已经载入Some2.class");
        Some2 s;
        out.println("生成Some参考名称");
        s = new Some2();
        out.println("生成Some实例");
    }
}
